﻿using System.Windows.Forms;

namespace NExplorer.AddIns.Samples.Commands
{
	public class CopyAsPathCommand : CommandBase
	{
		public CopyAsPathCommand()
			: base("Copy Path")
		{ }

		protected override void Execute(System.IO.FileSystemInfo fileSystemInfo)
		{
			Clipboard.SetText('\"' + fileSystemInfo.FullName + '\"');
		}
	}
}